package com.neusoft.neuiotms.dcom.dto.hn;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.neusoft.bizcore.web.dto.AbstractAuditDTO;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class HnInspectionPlanDTO extends AbstractAuditDTO {

    private static final long serialVersionUID = 6767202910486105321L;

    private String code;

    @JsonFormat(timezone = "GMT+8")
    private Date startDateTime;

    @JsonFormat(timezone = "GMT+8")
    private Date endDateTime;

    /** 创建人编码 **/
    private String userCode;

    /** 创建人名称 **/
    private String userName;

    /** 持续时长 **/
    private Integer duration;

    /** 计划状态 **/
    private boolean disabled;

    private String cronTime;

    /** 厅局编码 **/
    private String institutionCode;

    /** 厅局名称 **/
    private String institutionName;

    /** 删除标识 **/
    private boolean delFlag;

    /** 版本号 **/
    private int version;

    private List<HnInspectionItemDTO> items = new ArrayList<>();

}
